<!DOCTYPE html>

[<p class='formulaire_ok'>(#ENV*{message_ok})</p>]
[<p class='formulaire_erreur'>(#ENV*{message_erreur})</p>]
<form method='post' action='#ENV{action}' >
    #ACTION_FORMULAIRE{#ENV{action}}

<table>






          
<tr>
<td>Name</td>
<td><input type="text" name="name" value=""></td>
</tr>




<tr>
<td>E-mail</td>
<td><input type="text" name="email" value=""></td>
</tr>




<tr>
<td>Password</td>
<td><input type="password" name="password" value=""></td>
</tr>
<tr>
<td>Re Password</td>
<td><input type="password" name="re_password" value=""></td>
</tr>



</table>
<input type="submit" value="OK" class="spip_reg">
<input type="hidden" name="login" value="">
</form>
<script>
	$(document).ready(function(){
		$('.spip_reg').click(function(){
			var email = $('input[name=email]').val();
			$('input[name=login]').val(email);
		});
	});
</script>